package com.blog.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "分页工具实体")
public class PageBean <T>{
    @ApiModelProperty("查询到的数据总条数")
    private Long total;

    @ApiModelProperty("当前页封装的数据")
    private List<T> records;

}
